package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author xiaolong
 * @version 1.0
 * @description: TODO
 * @date 2021/9/17 9:06
 */
@SpringBootApplication
@EnableFeignClients   //使用激活openfeign
@EnableHystrix   //订单方服务降级
public class OrderHystrixMain80 {

    public static void main(String[] args) {
        SpringApplication.run(OrderHystrixMain80.class, args);
    }
}
